<html>
<head>
<title>Facebook Spectrum</title>

<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
	google.load("jquery", "1.4.4");
</script>
<script type="text/javascript" src="android.js"></script>
<link rel="shortcut icon" href="/svn/trunk/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="android.css">
</head>
<body>

<div class="fb">
	facebook real-time search
</div>

<table width="100%" height="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td width="100%" valign="top" style="padding:10px;">
			<table width="100%" cellpadidng="0" cellspacing="0" border="0">
				<tr>
					<td nowrap="nowrap"><b>Search :&nbsp;</b></td>
					<td width="100%"><input type="text" id="searchStr" class="searchBox" style="width:100%" value=""/></td>
					<td><input type="button" class="searchButton" value="Go" onclick="searchFacebook();"></td>
				</tr>
			</table>
			<div id="searchResults">
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
			</div>
		</td>
	</tr>
</table>

<div class="footer">[This app is not affiliated with Facebook]</div>

<div style="display:none">
<span>Debug Log:</span><a href="javascript:void(0);" onclick="document.getElementById('debugLog').innerHTML='';">Clear</a>
<div id="debugLog" style="width:600px;height:100px;overflow:scroll;border:2px solid#638254;display:none"></div>
</div>

<div id="fb-root"></div>
	<script type="text/javascript">
		window.fbAsyncInit = function() {
			var friendId = 0;
			FB.init({appId: '132839880113484', status: true, cookie: true,
					 xfbml: true});
		};
		(function() {
			var e = document.createElement('script');
			e.type = 'text/javascript';
			e.src = document.location.protocol +'//connect.facebook.net/en_US/all.js';
			e.async = true;
			document.getElementById('fb-root').appendChild(e);
		}());


	</script>

	<!-- Google Analytics -->
	<script type="text/javascript">

	  var _gaq = _gaq || [];
	  _gaq.push(['_setAccount', 'UA-1214589-25']);
	  _gaq.push(['_trackPageview']);

	  (function() {
		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	  })();

	</script>

</body>
</html>